<?php
//include_once './config.inc.php';

/**
 * 在这里输入本目录下的特定变量
 */
$GLOBALS['runtime']['end'] = microtime(true);
$GLOBALS['runtime']['start_power'] = $GLOBALS['runtime']['power'] - $GLOBALS['runtime']['start'];
$GLOBALS['runtime']['start_end'] = $GLOBALS['runtime']['end'] - $GLOBALS['runtime']['start'];

//if(isset($T)){
	if(isset($__l["_mm_{$__frm}_{$__mdl}_{$__do}"])){
		$title = $__l["_mm_{$__frm}_{$__mdl}_{$__do}"];
	}else{
		if(in_array($__mdl, array('index', 'topnav', 'login'))){
			$title = $__l['site_name'];
		}else{
			$title = isset($__l[$__mdl]) && isset($__l[$__do]) ? $__l[$__mdl].$__l[$__do] : '';	// 兼容旧的标题机制
		}
	}
	$vars['_page'] = array(
		'title'		=> $title,	// 页面标题
		'caption'	=> $title,	// 主表格标题
	);
	$vars['$__setting_syncjs'] = $__setting_syncjs;			// 样式
	$vars['_style'] = $__f_style_setting;						// 样式
	$vars['l'] = $__l;											// 语言，这个用得多，就简洁一些
	if(isset($_role_info) && isset($_role_info['powers'])){
		$vars['_g'] = $_role_info['powers'];					// 权限
	}

	$vars['_manager']	= $__f_manager_info_cur;
	$vars['_modules']	= $__modules_arr;
	// 弹窗传递数据功能标识
	$vars['_filter']	= empty($_GET['_filter']) ? '' : trim($_GET['_filter']);
	$vars['_single']	= empty($_GET['_single']) ? '' : trim($_GET['_single']);
	
	if(defined('DEBUG_PR') && DEBUG_PR == true){
		// ###
	}
//}

if(defined('DEBUG_FB') && DEBUG_FB == true){
	// ###
}

include_once APP_PTH.'_flush.php';
?>